<template>
  <div class="hello">

    <mt-header title="详情页">
  <router-link to="/" slot="left">
    <mt-button icon="back">返回</mt-button>
  </router-link>
  <mt-button icon="more" slot="right"></mt-button>
</mt-header>

  <h1>详情页</h1>





  </div>
</template>

<script>
import url from "../tools/url"
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
   mounted(){
    var id = this.$route.query.v;
    var token = sessionStorage.getItem("token");
    var str = `token=${token}&id=${id}`;
    this.axios.post(url.GET_DETAIL,str)
    .then(res=>{
      console.log(res)
    })
  }
}

</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.blank{
  clear: both;
  overflow: hidden;
  display: block;
  overflow: hidden;
}
</style>
